package com.java.basic;

public class ParameterTests {
    public static void main(String[] args) {
        int[] array={1,2,3};
        int a=10;
        change(a,array);
        System.out.println(a);//10
        System.out.println(array[0]);//10
    }
    static void change(int a,int[] array){
        ++a;
        array[0]=10;
    }
}
